diff options
| author | joonhoekim <26rote@gmail.com> | 2025-12-04 19:46:55 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-12-04 19:46:55 +0900 |
| commit | 04ed774ff60a83c00711d4e8615cb4122954dba5 (patch) | |
| tree | bfc18b5c4c40de94596d307fdf76990593c0d868 /app/[lng]/evcp/(evcp)/layout.tsx | |
| parent | 5699e866201566366981ae8399a835fc7fa9fa47 (diff) | |
(김준회) 메뉴 관리기능 초안 개발 (시딩 필요)
Diffstat (limited to 'app/[lng]/evcp/(evcp)/layout.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/layout.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/[lng]/evcp/(evcp)/layout.tsx b/app/[lng]/evcp/(evcp)/layout.tsx index c5e75a4c..093d9301 100644 --- a/app/[lng]/evcp/(evcp)/layout.tsx +++ b/app/[lng]/evcp/(evcp)/layout.tsx @@ -1,5 +1,5 @@ import { ReactNode } from 'react'; -import { Header } from '@/components/layout/Header'; +import { HeaderV2 } from '@/components/layout/HeaderV2'; import { SiteFooter } from '@/components/layout/Footer'; import { getServerSession } from "next-auth"; import { authOptions } from "@/app/api/auth/[...nextauth]/route"; @@ -20,7 +20,8 @@ export default async function EvcpLayout({ children }: { children: ReactNode }) try { const result = await verifyNonsapPermission( parseInt(session.user.id), - ['SEARCH'] + // ['SEARCH'] + [] // 아무런 실제 권한이 없어도, 등록된 상태라면 화면에 'SEARCH' 권한이 있는것처럼 동작하게 해달라고 함. (김희은 프로) ); isAuthorized = result.authorized; authMessage = result.message || ""; @@ -36,7 +37,7 @@ export default async function EvcpLayout({ children }: { children: ReactNode }) return ( <div className="relative flex min-h-svh flex-col bg-background"> {/* <div className="relative flex min-h-svh flex-col bg-slate-100 "> */} - <Header /> + <HeaderV2 /> {!skipPermissionCheck && ( <PermissionChecker authorized={isAuthorized} message={authMessage} /> )} |
